From c3eea1c6116d6af38b084424e380cdd67af6c5c0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 12 Sep 2009 09:45:36 +0000 Subject: [PATCH] (dos-reevaluate-defcustoms): Comment out the reevaluation of trash-directory. --- lisp/dos-fns.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index 3cfaa73d5a0..fadf09c70c2 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el @@ -224,8 +224,11 @@ returned unaltered." ;; see if the list of defcustom's below is up to date, run the command ;; "M-x apropos-value RET ~/\. RET". (defun dos-reevaluate-defcustoms () - ;; This was computed at dump time. - (custom-reevaluate-setting 'trash-directory)) + ;; This is not needed in Emacs 23.2 and later, as trash-directory is + ;; initialized as nil. But something like this might become + ;; necessary in the future, so I'm keeping it here as a reminder. + ;(custom-reevaluate-setting 'trash-directory) + ) (add-hook 'before-init-hook 'dos-reevaluate-defcustoms) -- 2.30.2